html::-webkit-scrollbar {
    display: none;
}

.youjivest-dashboard {
    height: auto !important;
}

.risk-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 10%;
}

.risk-types {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 10%;
}

.risk-types div {
    color: #353535;
    display: inline-block;
    width: 12%;
    text-align: center;
    letter-spacing: 0.3rem;
    border-inline-end: solid;
    border-inline-end-color: #353535;
}

.disasterBox,
.sspBox,
.yearBox {
    display: flex;
    align-items: center;
}

.disasterBox > div,
.sspBox > div,
.yearBox > div {
    font-weight: bold;
    min-width: max-content;
}

.disasterBox img,
.sspBox img,
.yearBox img {
    width: 17px;
    height: 17px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    margin-top: -3px;
}

.disasterList {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.disasterList li {
    padding: 0 25px;
    color: rgba(0, 0, 0, 0.6);
    position: relative;
}

.disasterList li:last-child {
    border-right: none;
}

.disasterList li:hover {
    cursor: pointer;
}

.disasterList li::before {
    position: absolute;
    content: " ";
    right: 0;
    top: 7px;
    width: 1px;
    height: 12px;
    background: rgba(0, 0, 0, 0.6);
}

.disasterList li:last-child::before {
    width: 0;
}

@media screen and (max-width: 650px) {
    .disasterBox,
    .sspBox,
    .yearBox {
        align-items: self-start;
    }
    .disasterBox,
    .sspBox {
        margin-bottom: 10px;
    }

    .disasterList {
        margin: 0;
        padding: 0;
    }
    .sspList {
        margin: 0;
        padding: 0 20px;
    }
}

.sspList {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.sspList li {
    margin-right: 50px;
    width: 80px;
    height: 24px;
    border-radius: 22px;
    background: #fff;
    line-height: 24px;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    vertical-align: middle;
    padding: 4px 10px;
}

.sspList .sspActive {
    background: #eaeaea;
    padding: 4px 10px;
    color: #000;
}

.sspList li:hover {
    cursor: pointer;
}

.disasterList .active {
    position: relative;
    color: rgba(0, 0, 0, 1);
}

.disasterList .active::after {
    content: " ";
    bottom: -3px;
    left: 20px;
    height: 2px;
    background: #000;
    width: calc(100% - 40px);
    position: absolute;
    border-radius: 100%;
}

.yearBox {
    height: 57px;
}

.yearSelect {
    margin-left: 40px;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    font-size: 16px;
    border-bottom: 1px solid #000;
    background: #fff;
}

.highchartsBox {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tableContainer {
    flex: 1;
    height: 500px;
    width: 100%;
    overflow-y: auto;
    padding-top: 0;
    position: relative;
    max-height: 800px;
}

.tableContainer::-webkit-scrollbar {
    display: none;
}

#myTable {
    border: none;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    table-layout: fixed;
}

#myTable thead {
    text-align: left;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

#myTable thead tr th {
    padding-bottom: 20px;
}

#myTable .tableTr:hover {
    background-color: #f3f3f3;
    cursor: pointer;
}

#myTable tr th:nth-of-type(3),
#myTable tr td:nth-of-type(3) {
    text-align: right;
}

#myTable .tableDisasterTitleLeft {
    width: 180px;
    min-width: 180px;
}

#myTable .tableDisasterTitleRight {
    width: 115px;
}

@media screen and (max-width: 650px) {
    #myTable .tableDisasterTitleLeft {
        width: 100px;
        min-width: 100px;
    }
}

.tableChartTd:hover {
    background-color: #f3f3f3;
}

.highlight {
    background-color: #f3f3f3;
    visibility: inherit;
}

#disasterMap {
    flex: 1;
    min-height: 500px;
    margin-right: 50px;
    height: auto !important;
    position: relative;
    width: 100%;
}

#disasterMap > #worldMap,
#disasterMap > #chinaMap {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
}

.worldMap,
.chinaMap {
    opacity: 0;
}

#disasterMap > .hideMap {
    animation: hide_map 1s linear forwards;
}

@keyframes hide_map {
    from {
        opacity: 1;
        z-index: 10;
    }

    to {
        opacity: 0;
        z-index: -1;
    }
}

#disasterMap > .showMap {
    animation: show_map 1s linear forwards;
}

@keyframes show_map {
    from {
        opacity: 0;
        z-index: -1;
    }

    to {
        opacity: 1;
        z-index: 10;
    }
}

.highcharts-container {
    overflow: visible !important;
}

svg:not(:root) {
    overflow: inherit !important;
}

.highcharts-background {
    height: calc(100% - 1px) !important;
}

.esgContainer {
    position: relative;
    max-width: 500px;
}

.autocomplete {
    max-width: 500px;
}

.autocompleteInput {
    width: calc(100% - 70px);
    height: 40px;
    border-radius: 40px;
    border: 1px solid #b6b7b7;
    padding: 0 50px 0 20px;
}

.autocompleteInput:focus {
    border: none;
    outline: 1px solid #1677ff;
}

.autocompleteList {
    max-width: 510px;
    height: 300px;
    overflow: auto;
    list-style: none;
    padding: 5px;
    margin: 0;
    margin-top: 3px;
    background-color: #fff;
    box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.13);
    z-index: 99;
    border-radius: 10px;
    display: none;
}

.autocompleteList li {
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.autocompleteList li.active,
.autocompleteList li:hover {
    background-color: #f0f0f0;
}

.esgContainer > img {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 23px;
    height: 23px;
}

.gaugeContainer {
    width: 300px;
    background-color: #f2f6fb;
    box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.13);
    border-radius: 40px 40px;
    overflow: hidden;
    position: absolute;
    left: 530px;
    top: -210px;
    z-index: 99;
    display: none;
}

@media screen and (max-width: 800px) {
    .gaugeContainer {
        position: initial;
        margin-top: 20px;
        width: 100%;
    }
}

.gaugeBox {
    width: 100%;
    height: 100%;
    position: relative;
}

.gaugeBox .closeImg {
    position: absolute;
    width: 12px;
    height: 12px;
    right: 30px;
    top: 20px;
}

.gaugeCard {
    background-color: #fff;
    border-radius: 40px 40px;
    padding: 30px 20px;
}

.gaugeCard div {
    width: 100%;
    padding: 15px 30px;
    border-bottom: 1px solid #aeaeae;
    box-sizing: border-box;
    font-weight: bold;
}

.gaugeCard div:last-child {
    border-bottom: none;
}

.industryBox,
.companyBox {
    display: flex;
    margin-top: 20px;
}

.industryBox > div,
.companyBox > div {
    flex: 1;
}

.industryBox > div:first-child,
.companyBox > div:first-child {
    margin-right: 50px;
}

.industryBox h2,
.companyBox h2 {
    font-size: 24px;
}

.companyBox h2 {
    margin-bottom: 40px;
}

.gradeDate {
    font-size: 24px;
    margin-top: 40px;
    color: #33d0ff;
}

#highCompanyTable thead,
#lowCompanyTable thead {
    text-align: left;
    color: #a7a7a7;
}

#highCompanyTable thead th,
#lowCompanyTable thead th {
    border-bottom: 1px solid #000;
    font-weight: normal;
}

#highCompanyTable thead th:first-child,
#lowCompanyTable thead th:first-child {
    min-width: 100px;
}

#highCompanyTable thead th:nth-child(2),
#highCompanyTable thead th:nth-child(3),
#lowCompanyTable thead th:nth-child(2),
#lowCompanyTable thead th:nth-child(3) {
    min-width: 150px;
}

#highCompanyTable tbody td,
#lowCompanyTable tbody td {
    border-bottom: 1px solid #000;
}

#highCompanyTable tbody tr:last-child td,
#lowCompanyTable tbody tr:last-child td {
    border-bottom: none;
}

#highCompanyTable tbody .tableTr td:last-child,
#lowCompanyTable tbody .tableTr td:last-child {
    font-size: 40px;
    color: #a7a7a7;
    font-weight: bold;
    vertical-align: top;
}

#highCompanyTable tbody .tableTr td:last-child .upImg,
#lowCompanyTable tbody .tableTr td:last-child .downImg {
    width: 12px;
    height: 12px;
    vertical-align: super;
}

#lowCompanyTable tbody .tableTr td:last-child .downImg {
    vertical-align: baseline;
}

#highCompanyTable tbody td,
#lowCompanyTable tbody td {
    padding: 12px 1px;
}

.pollutantList {
    list-style: none;
    display: flex;
    font-size: 30px;
    padding: 0;
    flex-wrap: wrap;
}

.pollutant-item {
    margin-right: 40px;
    font-weight: bold;
    cursor: pointer;
}

.pollutant-active {
    color: #00c9ff;
    border-bottom: 1px solid #00c9ff;
}

@media screen and (max-width: 1400px) {
    .highchartsBox {
        flex-direction: column;
    }

    .tableContainer {
        min-height: 200px;
    }
}

.riskNullImg {
    max-width: 100%;
    max-height: 100%;
    min-height: 100px;
    min-width: 100px;
    position: absolute;
    z-index: 10;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

/* 年份下拉选择框 */
.selectBox {
    width: 84px;
    margin: 0 20px;
    position: relative;
    border: 1px solid #ccc;
    cursor: pointer;
    font-weight: normal !important;
}

.selectBoxOption {
    padding: 0 10px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selectBoxOptionsContainer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    background-color: #fff;
    display: none;
    z-index: 20;
}

.selectBoxCustomOption {
    padding: 0 10px;
    border-bottom: 1px solid #ccc;
}

.selectBoxCustomOption:last-child {
    border-bottom: none;
}

.selectBoxCustomOption:hover {
    background-color: #f0f0f0;
}

.selectBoxArrow {
    transition: transform 0.2s;
}

.selectBoxArrow.up {
    transform: rotate(180deg);
}

/* 风险评级改版 */
.esgRatingInputBox {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #c1c1c1;
    padding: 12px 12px 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.esgRatingInputBoxDiv {
    align-items: center !important;
}

.esgRatingInputBoxInput {
    font-size: 20px;
    line-height: 28px;
    background: none;
    border: none;
    outline: none;
    padding: 0 20px 0 0;
    margin: 0;
    flex: 1;
    min-width: 50px;
}

.esgRatingInputBoxSearch {
    padding: 12px 64px;
    background: linear-gradient(137deg, #94f2e4 0%, #00c9ff 100%);
    border-radius: 12px;
    display: inline-block;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
    line-height: 28px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    min-width: max-content;
}

@media screen and (max-width: 800px) {
    .esgRatingInputBoxSearch {
        padding: 9px 12px;
        font-size: 14px;
        line-height: 1;
    }
    .esgRatingInputBoxSearch > img {
        width: 14px;
        margin-right: 5px;
    }
    .esgRatingInputBoxSearchList {
        top: 60px;
    }
    .esgRatingInputBoxInput {
        font-size: 12px;
    }
    .esgRatingInputBoxTip {
        padding-top: 0 !important;
    }
    .esgRatingSearchBox {
        padding-top: 50px !important;
        padding-bottom: 10px !important;
        margin-top: 0 !important;
        margin-bottom: 25px !important;
    }

    .esgRatingPopupBox .close {
        right: 0px;
        top: -18px;
    }
    .esgRatingSearchBox > div {
        padding: 0 15px !important;
    }
    #esg-rating-scoring-chart-box {
        transform-origin: top left;
    }
    #esg-rating-scoring-rule {
        margin-top: 20px !important;
    }
    #esg-rating-scoring-rule table thead,
    #esg-rating-scoring-rule table tbody {
        font-size: 12px !important;
    }
    .esgRatingInputBox {
        padding-left: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.esgRatingInputBoxSearch > img {
    margin-right: 10px;
}

.esgRatingInputBoxSearch > img,
.esgRatingInputBoxSearch > span {
    vertical-align: middle;
}

.esgRatingInputBoxSearchList {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: scroll;
    box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.13);
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    background: #fff;
    display: none;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.esgRatingInputBoxSearchList > li {
    padding: 10px 20px;
    list-style-type: none;
}

.esgRatingInputBoxSearchList > li:hover {
    background-color: #f0f0f0;
}

.esgRatingInputBoxSearchList::-webkit-scrollbar {
    width: 2px;
    position: relative;
    height: 50%;
}

.esgRatingInputBoxSearchList::-webkit-scrollbar-track {
    background: #e9e6e6;
    border-radius: 10px;
}

.esgRatingInputBoxSearchList::-webkit-scrollbar-thumb {
    background-color: #00c9ff;
    border-radius: 10px;
}

#esg-rating-high-industry-map,
#esg-rating-issue-map {
    min-height: 160px;
    position: relative;
}
#esg-rating-issue-map {
    overflow: hidden;
}
.esg-rating-issue-map-main {
    width: 600px;
    height: 400px;
}
#esg-rating-high-industry-map svg,
.esg-rating-issue-map-main {
    transform-origin: left top;
}
#esg-rating-high-industry-map {
    overflow: visible;
}

.esgRatingPopupBox {
    background: #ffffff;
    box-shadow: 0px 10px 27px 6px rgba(195, 195, 195, 0.5);
    border-radius: 8px;
    display: none;
    position: relative;
}
.esgRatingPopupBox .close {
    font-size: 24px;
    line-height: 1;
    padding: 15px 20px;
    position: absolute;
    right: 12px;
    top: 8px;
    cursor: pointer;
    border-radius: 50%;
    color: #9fa2a9;
}
.esgRatingPopupBox .close:hover {
    background: #f3f4f6;
}

/* 风险弹窗部分 */
#esg-rating-scoring-chart-box {
    position: relative;
    width: 400px;
    height: 400px;
    transform-origin: left;
    margin-left: 50%;
    transform: translate(-50%, 16%);
}

.esg-rating-scoring-chart {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 400px;
    height: 400px;
    z-index: 1;
}

.esg-rating-scoring-chart-bar {
    position: absolute;
    transform: rotate(230deg);
    width: 400px;
    height: 400px;
    left: 0px;
    top: -2.5px;
}

.esg-rating-scoring-chart-bar circle {
    fill: none;
    stroke-width: 25.5;
    stroke: #f1f1f1;
    transform-origin: center;
    transform: rotateY(180deg);
    stroke-dasharray: calc(2 * 137 * 3.14 * 0.78);
    background-color: transparent;
}

.esg-rating-scoring-chart-bar #esg-rating-scoring-chart-bar-circle2 {
    stroke-dashoffset: calc(2 * 137 * 3.14 * 0.78);
    z-index: 11;
    stroke: #fff;
}

.esg-rating-scoring-chart-center {
    position: absolute;
    z-index: 10;
    width: 34%;
    height: 34%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 14px solid #f1f1f1;
    border-radius: 50%;
    color: #111111;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
}

.esg-rating-scoring-chart-center > p {
    margin: 0;
    padding: 0;
}

.esg-rating-scoring-chart-center > p:nth-of-type(1) {
    font-weight: 800;
    font-size: 56px;
    line-height: 62px;
}

.esg-rating-scoring-chart-center > p:nth-of-type(2) {
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
}

.esg-rating-scoring-chart-average-score {
    position: absolute;
    width: 400px;
    height: 400px;
    left: 0px;
    top: -2.5px;
}

.esg-rating-scoring-chart-average-score > .point {
    position: relative;
    border: 7px solid transparent;
    border-top: 7px solid #666666;
    width: 0;
    height: 0;
    position: absolute;
    transform: rotate(-138deg);
    bottom: 76px;
    left: 94px;
}

.esg-rating-scoring-chart-average-score > .point span {
    font-weight: bold;
    font-size: 18px;
    color: #666666;
    line-height: 25px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    min-width: max-content;
    min-width: max-content;
}

#esg-rating-scoring-rule {
    margin-top: 50px;
    width: 100%;
}

#esg-rating-scoring-rule table {
    text-align: center;
    color: #333333;
    font-weight: bold;
    border-collapse: collapse;
    border: none;
    width: 100%;
    table-layout: fixed;
}

#esg-rating-scoring-rule td {
    padding: 11px 0;
}

#esg-rating-scoring-rule table thead {
    background: #f3f4f6;
    border-radius: 6px;
    font-size: 22px;
    line-height: 30px;
}

#esg-rating-scoring-rule table tbody {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}

#esg-rating-scoring-rule table tbody > tr:nth-of-type(2n) {
    background: #fafafb;
    border-radius: 6px;
}

/*兼容h5的头部*/
@media screen and (max-width: 650px) {
    .youjivest-mini-header {
        height: 500px;
    }

    .youjivest-mini-header-text {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.2em;
        font-weight: 700;
        text-align: center;
    }

    .youjivest-mini-header-menu {
        flex-wrap: nowrap !important;
    }

    .youjivest-mini-header-menu-image img {
        width: 100px !important;
        padding: 10px 0px;
    }

    .youjivest-mini-header-button {
        flex-shrink: 0;
        flex-grow: 0;
        position: absolute;
        bottom: 15px;
        right: 12px;
    }

    .youjivest-mini-header-button a {
        padding: 5px 10px;
        background-color: rgba(0, 0, 0, 0.5) !important;
    }

    .youjivest-mini-header-button-fixed {
        position: fixed;
        bottom: 20px;
        right: var(--wp--preset--spacing--30);
        z-index: 1;
    }

    .youjivest-mini-header-menu-button nav button {
        flex-basis: 20px !important;
        padding: 5px 5px 5px 5px;
        border: 1px solid #fff;
        border-radius: 50%;
        position: absolute;
        right: 0;
    }
}

.more-btn-box{
    position: absolute;
    bottom: 5%;
    right: 5%;
}

@media screen and (max-width: 650px) {
    .more-btn-box{
        transform: scale(.6) translateX(-50%);
        left: 50%;
    }
}
.more-btn {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #fff;
    position: relative;
}
.more-btn-div {
    margin-top: 50%;
    transform: translateY(-50%);
    animation: more_btn_float 0.8s linear infinite alternate;
}

@keyframes more_btn_float {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(calc(-50% + 2px));
    }
}

.more-btn-div i {
    display: block;
    margin: 0 auto;
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 0 0 3px 0;
    transform: rotate(45deg) translate(-2px, -2px);
    opacity: 0.6; 
    animation: more_btn_animate 1.6s linear infinite;
}

.more-btn-div i:first-of-type {
    animation-delay: 0.8s;
}

.more-btn-div i:last-of-type {
    animation-delay: 0s; 
}

@keyframes more_btn_animate {
    0%,
    50% {
        opacity: 0.6; 
    }
    51%,
    100% {
        opacity: 1; 
    }
}